# Contributor: Newbyte <newbytee@protonmail.com>
pkgname=py3-jsonlint
pkgver=0_git20181111
pkgrel=0
_commit=7dd6e59d7fd1ecc9c8d9f0cc99e32ffc63780caa
pkgdesc="Flexible JSON validator for Python web development"
url="https://github.com/tangwz/jsonlint"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/tangwz/jsonlint/archive/$_commit/jsonlint-$_commit.tar.gz"
builddir="$srcdir/jsonlint-$_commit/"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="680afdba2232ba24193a8ec338ad565540cfac2c54e6e45b8e3d1654e6f5fcf785952aa7af39ac58455ab1f9f1198e5d1b19912378e17e6e94147329634d64c6  jsonlint-7dd6e59d7fd1ecc9c8d9f0cc99e32ffc63780caa.tar.gz"
